package com.example.demo.service;

import com.example.demo.model.core.PageVo;
import com.example.demo.model.form.PermissionForm;
import com.example.demo.model.query.PermissionQuery;
import com.example.demo.model.vo.OptionVO;
import com.example.demo.model.vo.PermissionVO;

import java.util.List;

public interface SysPermissionService {
    void add(PermissionForm form);

    void update(PermissionForm form);

    void delete(List<String> ids);

    PageVo<PermissionVO> page(PermissionQuery query);

    List<PermissionVO> list(PermissionQuery query);

    List<OptionVO<String>> options(boolean onlyParent);

    PermissionForm form(String id);


}
